package br.com.upper.entity;

import javax.persistence.Entity;
import javax.persistence.ManyToOne;
import javax.persistence.SequenceGenerator;

@Entity
@SequenceGenerator(name="SEQUENCE",sequenceName="SEQ_TRANSACTION",initialValue=1,allocationSize=1)
public class Transaction extends EntityBase {
	
	private String nome;
	
	private Long timeExecution;
	
	@ManyToOne
	private TestConfiguration configuration;

	public String getNome() {
		return nome;
	}

	public void setNome(String nome) {
		this.nome = nome;
	}

	public Long getTimeExecution() {
		return timeExecution;
	}

	public void setTimeExecution(Long timeExecution) {
		this.timeExecution = timeExecution;
	}

	public TestConfiguration getConfiguration() {
		return configuration;
	}

	public void setConfiguration(TestConfiguration configuration) {
		this.configuration = configuration;
	}

}
